package com.online.web.domain;

import java.time.LocalDateTime;

/**
 * 任务结果
 *
 * @author xiangtianlei
 * @date 2023/08/10
 */
public class TaskResult {
    /**
     * 是否执行，0表示未执行，1表示已执行
     */
    private int isExecute;

    /**
     * 是否呼通，0表示未呼通，1表示已呼通
     */
    private int isAnswer;

    /**
     * 开始呼叫时间
     */
    private LocalDateTime start;

    /**
     * 呼叫应答时间
     */
    private LocalDateTime answer;

    /**
     * 结束呼叫时间
     */
    private LocalDateTime end;

    /**
     * 通话时长
     */
    private int billsec;

    /**
     * 主叫号码（用户看到的外显号码）
     */
    private String callingNo;

    /**
     * 被叫号码（工单需要呼叫号码）
     */
    private String userPhone;

    /**
     * 每条呼叫任务ID
     */
    private Long taskId;

    public TaskResult() {
    }

    public int getIsExecute() {
        return isExecute;
    }

    public void setIsExecute(int isExecute) {
        this.isExecute = isExecute;
    }

    public int getIsAnswer() {
        return isAnswer;
    }

    public void setIsAnswer(int isAnswer) {
        this.isAnswer = isAnswer;
    }

    public LocalDateTime getStart() {
        return start;
    }

    public void setStart(LocalDateTime start) {
        this.start = start;
    }

    public LocalDateTime getAnswer() {
        return answer;
    }

    public void setAnswer(LocalDateTime answer) {
        this.answer = answer;
    }

    public LocalDateTime getEnd() {
        return end;
    }

    public void setEnd(LocalDateTime end) {
        this.end = end;
    }

    public int getBillsec() {
        return billsec;
    }

    public void setBillsec(int billsec) {
        this.billsec = billsec;
    }

    public String getCallingNo() {
        return callingNo;
    }

    public void setCallingNo(String callingNo) {
        this.callingNo = callingNo;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
}
